<?php defined( 'BASEPATH' ) or die( 'Restricted' );

/*
This code is copyright 2009-2010 by TMLA INC.  ALL RIGHTS RESERVED.
Please view license.txt in /tgsf_core/legal/license.txt or
http://tgWebSolutions.com/opensource/tgsf/license.txt
for complete licensing information.
*/

// see the config/config.php for the site name that is referenced in views/header.php
$metaDescription = 'ProgChat.com - a link stream view of what is interesting to computer programmers around the world.';
$windowTitle = 'link sharing for computer nerds - interesting links related to software development and information technology';
$pageTitle = 'most recent links';
//------------------------------------------------------------------------

$linksModel = load_model( 'links' );
$linkTagModel = load_model( 'link_tag' );

$query = $linksModel->getFetchQuery();

$prev = $query->getPrevLinkUrl( '' );
$next = $query->getNextLinkUrl( '' );

$rows = $query->exec()->fetchAll();

//------------------------------------------------------------------------
include view( 'header' );
include view( 'template/top' );
include view( 'homepage' );
include view( 'footer' );
